package com.funo.wcity.app.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * AbstractTblcompanies entity provides the base persistence definition of the
 * Tblcompanies entity. @author MyEclipse Persistence Tools
 */

public class TblCompanies implements java.io.Serializable {

	// Fields

	private Integer idCompany;
	private Integer idCompanyType;
	private String companyNo;
	private String companyName;
	private String companyShortName;
	private String address;
	private String postCode;
	private String telephone;
	private String fax;
	private String email;
	private String website;
	private String source;
	private String mainProducts;
	private Integer idUser;
	private Integer idEmployee;
	private Date createDate;
	private Date lastDate;
	private Set tblcontactpersonses = new HashSet(0);

	// Constructors

	/** default constructor */
	public TblCompanies() {
	}

	/** minimal constructor */
	public TblCompanies(Integer idCompany, Date lastDate) {
		this.idCompany = idCompany;
		this.lastDate = lastDate;
	}

	/** full constructor */
	public TblCompanies(Integer idCompany, Integer idCompanyType,
			String companyNo, String companyName, String companyShortName,
			String address, String postCode, String telephone, String fax,
			String email, String website, String source, String mainProducts,
			Integer idUser, Date createDate, Date lastDate,
			Set tblcontactpersonses) {
		this.idCompany = idCompany;
		this.idCompanyType = idCompanyType;
		this.companyNo = companyNo;
		this.companyName = companyName;
		this.companyShortName = companyShortName;
		this.address = address;
		this.postCode = postCode;
		this.telephone = telephone;
		this.fax = fax;
		this.email = email;
		this.website = website;
		this.source = source;
		this.mainProducts = mainProducts;
		this.idUser = idUser;
		this.createDate = createDate;
		this.lastDate = lastDate;
		this.tblcontactpersonses = tblcontactpersonses;
	}

	// Property accessors

	public Integer getIdCompany() {
		return this.idCompany;
	}

	public void setIdCompany(Integer idCompany) {
		this.idCompany = idCompany;
	}

	public Integer getIdCompanyType() {
		return this.idCompanyType;
	}

	public void setIdCompanyType(Integer idCompanyType) {
		this.idCompanyType = idCompanyType;
	}

	public String getCompanyNo() {
		return this.companyNo;
	}

	public void setCompanyNo(String companyNo) {
		this.companyNo = companyNo;
	}

	public String getCompanyName() {
		return this.companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getCompanyShortName() {
		return this.companyShortName;
	}

	public void setCompanyShortName(String companyShortName) {
		this.companyShortName = companyShortName;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPostCode() {
		return this.postCode;
	}

	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}

	public String getTelephone() {
		return this.telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getWebsite() {
		return this.website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}

	public String getSource() {
		return this.source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public String getMainProducts() {
		return this.mainProducts;
	}

	public void setMainProducts(String mainProducts) {
		this.mainProducts = mainProducts;
	}

	public Integer getIdUser() {
		return this.idUser;
	}

	public void setIdUser(Integer idUser) {
		this.idUser = idUser;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getLastDate() {
		return this.lastDate;
	}

	public void setLastDate(Date lastDate) {
		this.lastDate = lastDate;
	}

	public Set getTblcontactpersonses() {
		return this.tblcontactpersonses;
	}

	public void setTblcontactpersonses(Set tblcontactpersonses) {
		this.tblcontactpersonses = tblcontactpersonses;
	}

	public Integer getIdEmployee() {
		return idEmployee;
	}

	public void setIdEmployee(Integer idEmployee) {
		this.idEmployee = idEmployee;
	}

}